-
Notifications
You must be signed in to change notification settings - Fork 3.9k
feat: Kuzu Graph DB integration and adds bi-lingual (english, chinese) support to graph testing suite #1763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Thank you for your congratulations and efforts. As LightRAG evolves, each storage implementation necessitates corresponding upgrades. Currently, we lack the resources to consistently track and maintain the advancements and performance optimizations for every storage type. To avoid impeding the overall progress of the LightRAG system, LightRAG will temporarily discontinue the integration of new storage implementations. |
|
@loganpowell - is this currently working? I want to integrate KuzuDB into my project too! |
|
@voycey, it passes all the graph operation tests, so it should work. However I haven't tested it e2e. |
|
Ive merged it into my project to test - Ive also asked the maintainers of LightRAG to merge this for their next release so fingers crossed! |
|
You may keep this PR open and frequently rebase it against the |
|
I am actively using this, I'll report back as I go deeper with it but so far it looks good! Would appreciate this being merged into the main branch @danielaskdd, the networkx option isn't the best approach! |
|
v1.4.9rc1 has been released. All graph databases must implement the following two new functions:
@loganpowell could you please update the KuzuDB implementation to align with the new requirements? |
…port) - Add pytest asyncio configuration in pyproject.toml with auto mode - Create comprehensive tests/conftest.py with dynamic storage fixture - Implement robust test environment setup and cleanup for KuzuDB - Add mock embedding function for consistent testing - Fix all async test compatibility issues (18 tests now passing) - Resolve missing storage fixture errors across all test files - Add conditional server availability checks for Ollama tests - Implement @requires_server decorator to gracefully skip tests when external dependencies unavailable - Fix import paths in conftest.py (lightrag.kg.* module structure) - Add comprehensive KuzuDB integration tests - Enhance kuzu_impl.py with better error handling and edge case management - Update __init__.py exports for proper module access - Add new translation implementation tests and utilities - Create demo translation examples for testing multilingual support - Add comprehensive documentation for KuzuDB implementation - Include translation status tracking and implementation summaries - All storage tests (graph + KuzuDB) now pass consistently - External server dependencies gracefully handled via skip markers - Proper resource cleanup after test execution - Better error messages and debugging support - ✅ 18 tests passing (graph storage, KuzuDB, translations) - ⏭️ 10 tests skipped (Ollama server not available) - 🔧 Async test execution fully supported - 📚 Comprehensive test documentation added
formatting
|
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
|
This should still be merged in to the main branch - having an embeddable graph database is the best option for Cypher based queries! |
|
Thank you for your contribution and your interest in LightRAG. At this stage, we are not merging new storage implementations into the main branch. As LightRAG is undergoing rapid iteration, maintaining multiple backends introduces significant overhead in compatibility testing, performance tuning, and data migration, which currently exceeds our team's operational capacity. |
|
unfortunately, Kuzu has stopped working on the project: Note
Kuzu is working on something new!
We are archiving the KuzuDB project here: https://github.com/kuzudb/kuzu/
For those using Kuzu currently, prior Kuzu releases will continue to be usable in the same way without modifications to your code.
If you are also using extensions, moving forward you have two options:
we have a new release 0.11.3 that bundles many (but not all) of the extensions, so you can migrate to 0.11.3; or
you can follow the [instructions here](http://kuzudb.github.io/docs/extensions/#host-your-own-extension-server) to run a local extension server.
Further, some of our resources are moving from our website to GitHub:
Docs: http://kuzudb.github.io/docs
Blog: http://kuzudb.github.io/blog
We thank you for being early users of Kuzu and making Kuzu better over the last few years!It may not be advisable to move forward on this until a viable replacement bubbles up. There are some candidates though: But it's a bit early to choose |
|
I'm actually using this right now: https://github.com/aplbrain/grand-cypher which does fine for my specific use-case but I do want to move to a proper embedded Cypher graph database eventually - its a shame that Kuzu has stopped work on it but I expect someone will fork it - there is a fairly decent following for it! |
KuzuDB Integration
Test Infrastructure Overhaul
Core Test Framework
Test Suite Enhancements
Test Coverage Expansion
Robustness Improvements
Results